Determines whether the current value is less or equal to the given comparing value.

Namespace: Keystone.Polaris
Assembly: Keystone (in Keystone.dll)

public static bool IsLessOrEqualTo<TBaseValue, TComparingValue>( 
this TBaseValue valueOf
TComparingValue compareWith
Func<TBaseValue, TComparingValue, bool> usingComparison = null 

where TBaseValue : IComparable<TComparingValue>
This language is not supported or no code example is available.

Type Parameters

TBaseValue

The type of the current value.

TComparingValue

The type of the comparing value.

Parameters

valueOf

Type: TBaseValue

The current value.

compareWith

Type: TComparingValue

The comparing value.

usingComparison

Type: Func<TBaseValue, TComparingValue, bool>

The optional comparison function to compare the two values. If none is given, the default implementation of TBaseValue.CompareTo is used.

Return Value

true if the current value is less or equal to the comparing value; otherwise, false.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono